#!/usr/bin/env node
//不考
const fs = require('fs');
const file = process.argv[2];

try{
  const fid = fs.openSync(file,'r');
  fs.wrieSync(1,fs.readFileSync(fid).toString('utf8'));
  fs.closeSync(fid);
}catch(e){
  console.error(e.message);
  process.exit(1);
}
